<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns a copy of the current node as a DOM object</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmlreader.close.html">XMLReader::close</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmlreader.getattribute.html">XMLReader::getAttribute</a></div>
 <div class="up"><a href="class.xmlreader.html">XMLReader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="xmlreader.expand" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLReader::expand</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0)</p><p class="refpurpose"><span class="refname">XMLReader::expand</span> &mdash; <span class="dc-title">Returns a copy of the current node as a DOM object</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-xmlreader.expand-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="type"><a href="class.domnode.html" class="type DOMNode">DOMNode</a></span> 
   <span class="methodname"><strong>XMLReader::expand</strong></span>
    ([ <span class="methodparam"><span class="type"><a href="class.domnode.html" class="type DOMNode">DOMNode</a></span> <code class="parameter">$basenode</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   This method copies the current node and returns the appropriate DOM object.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-xmlreader.expand-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The resulting <a href="class.domnode.html" class="classname">DOMNode</a> or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmlreader.close.html">XMLReader::close</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmlreader.getattribute.html">XMLReader::getAttribute</a></div>
 <div class="up"><a href="class.xmlreader.html">XMLReader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
